package com.appsl.animations;


import com.appsl.digitalparking.R;

import android.app.Activity;

public class ActivityAnimator
{
        public void flipHorizontalAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.flip_horizontal_in, R.anim.flip_horizontal_out);
        }
        public void flipVerticalAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.flip_vertical_in, R.anim.flip_vertical_out);
        }
        
        public void fadeAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.fadein, R.anim.fadeout);
        }
        
        public void disappearTopLeftAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.disappear_top_left_in, R.anim.disappear_top_left_out);
        }
        
        public void appearTopLeftAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.appear_top_left_in, R.anim.appear_top_left_out);
        }
        
        public void disappearBottomRightAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.disappear_bottom_right_in, R.anim.disappear_bottom_right_out);
        }
        
        public void appearBottomRightAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.appear_bottom_right_in, R.anim.appear_bottom_right_out);
        }
        
        public void unzoomAnimation(Activity a)
        {
                a.overridePendingTransition(R.anim.unzoom_in, R.anim.unzoom_out);
        }
}